import React, { useEffect, useState } from 'react'
import { useDispatch, useSelector } from 'react-redux'
import Swipers from '../conponents/Swiper'

export default function Home() {

  let obj = useSelector(state => state.cams1)
  let [swiper, setSwiper] = useState(
    ['/img/1.jpg','/img/2.jpg','/img/3.jpg','/img/4.jpg','/img/5.jpg']
  )


  return (
    <div>
      {/* 轮播图组件 */}
      <Swipers swiper={swiper} />
    </div>
  )
}
